package com.example.othree.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.example.othree.entity.Drone;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

public interface DroneManagementMapper extends BaseMapper<Drone> {
    IPage PageList(IPage<Drone> page, @Param(Constants.WRAPPER) Wrapper wrapper);

    ArrayList<Drone> getDataById(Integer id);
}
